import request from '../../request'
import dic from '../dic.js'
const { users: usersDic } = dic
class Users {
    regist (data) {
        return request.get('api/demo/test/getByUserId')
        // const { username, password } = data
        // return request.post(usersDic.regist, { username, password })
    }
    findAll () {
        return request.get('api/demo/test/getByUserId')
    }
}

export const users =  new Users()
